package com.yyang.pai.di.module;

import com.jess.arms.di.scope.ActivityScope;

import dagger.Binds;
import dagger.Module;
import dagger.Provides;

import com.yyang.pai.mvp.contract.HomeContract;
import com.yyang.pai.mvp.contract.WatchContract;
import com.yyang.pai.mvp.model.HomeModel;
import com.yyang.pai.mvp.ui.fragment.ContactFragment;
import com.yyang.pai.mvp.ui.fragment.HomesFragment;
import com.yyang.pai.mvp.ui.fragment.TrendsFragment;
import com.yyang.pai.mvp.ui.fragment.WatchFragment;


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 03/16/2019 21:30
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
@Module
public abstract class HomeModule {

    @Binds
    abstract HomeContract.Model bindHomeModel(HomeModel model);

//    @ActivityScope
//    @Provides
//    static ContactFragment contactFragment(){
//        return new ContactFragment();
//    }
//
//    @ActivityScope
//    @Provides
//    static HomesFragment homesFragment(){
//        return new HomesFragment();
//    }
//
//    @ActivityScope
//    @Provides
//    static TrendsFragment trendsFragment(){
//        return new TrendsFragment();
//    }
//
//    @ActivityScope
//    @Provides
//    static WatchFragment watchContract() {
//        return new WatchFragment();
//    }
}